Fix two bugs in removing bookmark fringe marks
authorKarl Fogel <kfogel@red-bean.com>
Mon, 22 Apr 2024 19:45:39 +0000 (14:45 -0500)
committerKarl Fogel <kfogel@red-bean.com>
Mon, 22 Apr 2024 19:53:23 +0000 (14:53 -0500)
commit63765a74f15ef22109750414ec3025c8a40039f0
tree708155e4695e3c412b994b93b9471eab9d50e1e0
parente442161f11d11e5d4cac6bb1d5920a9ec36ad29f
Fix two bugs in removing bookmark fringe marks

This fixes bug#70019 and a separate fringe-mark removal bug that
also affected bookmarks in certain Info nodes.

* lisp/bookmark.el (bookmark--remove-fringe-mark): Fix bug#70019 by
temporarily widening in order to ensure we fetch the right overlays.
Also, normalize both filenames before comparing, to avoid spurious
failure to match.

Thanks to Dani Moncayo for the bug report and for testing.
lisp/bookmark.el